package com.itcs.rongyun.utils;

import java.util.HashMap;

import com.itcs.rongyun.rongsdk.Codes;

/***
 * 缩短HashMap<String,String>的写法，使代码更加简洁
 * @author ll
 */
public class StringHashMap extends HashMap<String,String>{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public static StringHashMap newMap() {
		return new StringHashMap();
	}
	 
    /**
     * 通行费支付
     */ 
    public void APP_NOTIFICATION_PAY(){
    	this.put("code",String.valueOf( Codes.APP_NOTIFICATION_PAY));
    }
    
    /**
     * 通行费支付成功
     */ 
    public void APP_NOTIFICATION_SUCCESS(){
    	this.put("code",String.valueOf( Codes.APP_NOTIFICATION_SUCCESS));
    }
    /**
     * 通行费详情
     */ 
    public void APP_NOTIFICATION_DETAIL(){
    	this.put("code",String.valueOf( Codes.APP_NOTIFICATION_DETAIL));
    }
     
	/**
     * 充值成功通知
     */
	public void  APP_NOTIFICATION_RECHARGE() {
		this.put("code",String.valueOf( Codes.APP_NOTIFICATION_RECHARGE));
	}     
	
	/**
     * 路方数据推送
     */
	public void APP_NOTIFICATION_TOLLDATA() {
		this.put("code",String.valueOf( Codes.APP_NOTIFICATION_TOLLDATA));
	}
	
	/**
	 * 移动APP系统公告
     */ 
	public void APP_NOTIFICATION_ITC() {
		this.put("code",String.valueOf( Codes.APP_NOTIFICATION_ITC));
	}
	
	/**
     * WEB企业系统公告
     */
	public void APP_NOTIFICATION_ITCWEB() {
		this.put("code",String.valueOf( Codes.APP_NOTIFICATION_ITCWEB));
	}
	
    /**
     * 通行入口信息
     */ 
    public void APP_IN_TOLL(){
    	this.put("code",String.valueOf( Codes.APP_IN_TOLL));
    }

}
